package cn.endeavour.pet.service;

import cn.endeavour.basic.service.IBaseService;
import cn.endeavour.basic.service.IBaseService;
import cn.endeavour.pet.domain.Pet;
import cn.endeavour.pet.domain.PetDetail;
/**
 * 宠物类型业务层
 */
public interface IPetDetailService extends IBaseService<PetDetail> {
    /**
     * 得到宠物id
     * @param petId
     * @return
     */
    PetDetail getByPetId(Long petId);

    /**
     * 得到宠物细节
     * @param id
     * @return
     */
    PetDetail findDetailByMsgId(Long id);

    /**
     * 得到宠物细节
     * @param id
     * @return
     */
    PetDetail findDetailByPetId(Long id);
}
